/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MIPS;

import java.io.*;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;

/**
 *
 * @author Keiner - jorgue
 */
public class Programa {

    private int PC = 0;
    private int [] registros = new int[32];

    public Programa(int inicioPrograma, int [] setRegistros) {
        PC = inicioPrograma;
        System.arraycopy(setRegistros, 0, registros, 0, setRegistros.length);
    }

    public int getPC() {
        return PC;
    }

    public void setPC(int PC) {
        this.PC = PC;
    }

    public int[] getRegistros() {
        return registros;
    }

    public void setRegistros(int[] registros) {
        this.registros = registros;
    }
    
}
